home *** CD-ROM | disk | FTP | other *** search
- include d:\pure_c\default.mk
-
- # override libs in default.mk because we don't need floating point etc.
-
- STDLIB = $(PCL)\pcstdlib.lib
-
- CPPFLAGS = -DMINT
- CFLAGS = -P
- ARFLAGS = $(UNIXLIB)
-
- UNIXLIB = ux_misc.o termcap.o curses.o pwd.o utmp.o # mind right order !!
- LOCALLIB = ux_misc.o modem.o
- LDFLAGS = $(LOCALLIB) $(LIB)\unixlib.lib
-
- PROGS = getty who last more cat tee write talk passwd reboot tail
-
- all: $(PROGS) unixlib
-
- $(PROGS): $(LOCALLIB)
-
- unixlib: $(UNIXLIB)
- $(ARCHIVE)
- $(LD) $(LDFILE)
- cp $@ $(LIB)\$@.lib
- rm -f $@
-
- clean:
- rm -f *.o unixlib
-
- veryclean:
- rm -f *.o *.lib *.ttp
-
- # This makefile is especially intended for use with the PURE-C compiler and
- # the GNUMAKE utility, although it won't be difficult to alter it for any
- # other compiler.
- #
- # To build all these UNIX like tools it is necessary to have MINT running on
- # your system. If you don't have MINT, you cannot use the full functionality
- # of the programs and some of them won't run at all.
- #
- # Any remarks or suggestions about these programs can be send to:
- # lemmens@dv.twi.tudelft.nl
-
-